<?php
namespace Admin\Controller;
use Admin\Controller\BaseController;
class TestController extends BasetController{
	public function read_json(){
		$username=$_REQUEST['username'];
		$passwd=$_REQUEST['passwd'];
		if( $username && $passwd){
			if($username=="qiuyinle" && $passwd=="963258"){
				$data=array(
					'username'=>$username,
					'password'=>$passwd,
					'msg'=>"登陆成功",
					'status'=>1,
				);
			}else{
				$data=array(
					'msg'=>"账户或密码错误",
					'status'=>0,
				);
			}		
		}
		$this->Response($data,'json');
	}


	

}